package com.inspection.service;

import com.inspection.entity.SysRoleDO;
import com.inspection.model.dto.SysRoleDTO;
import com.inspection.model.dto.SysRoleQueryDTO;
import com.inspection.support.Wrapper;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author zhaoqi
 * @since 2020-12-08
 */
public interface SysRoleService {

    Page<SysRoleDO> pageSysRole(SysRoleQueryDTO page);

    SysRoleDO getSysRole(SysRoleQueryDTO query);

    void saveSysRole(SysRoleDTO save);

    void updateSysRole(SysRoleDTO update);

    void delSysRole(SysRoleDTO del);

    void batchDelSysRole(SysRoleDTO del);

    List<SysRoleDO> querySysRole(SysRoleQueryDTO page);

}
